#
# Be sure to run `pod lib lint YPCloudKits.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'YPCloudKits'
  s.version          = '1.0.0'
  s.summary          = 'A short description of YPCloudKits.'
  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/wangyp330/private-ios-sdk'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'wangyp330' => 'wangypad@dcits.com' }
  s.source           = { :git => 'https://gitee.com/wangyp330/private-ios-sdk.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '9.0'

  #s.source_files = 'YPCloudKits/YPOcr/**/*'
  
  s.resource_bundles = {
     'YPCloudKits' => ['YPCloudKits/Assets/*.bundle']
  }
  
  s.subspec "YPOcrKit" do |subOcr|
    subOcr.subspec "001" do |ocr001|
      ocr001.vendored_frameworks = 'YPCloudKits/YPOcr/DCOcrKit_001.framework'
    end
    subOcr.subspec "002" do |ocr002|
      ocr002.vendored_frameworks = 'YPCloudKits/YPOcr/DCFaceKit_002.framework'
    end
  end
  s.pod_target_xcconfig = { 'VALID_ARCHS' => 'x86_64 armv7 arm64' }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
end
